package com.jk.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 
 * @TableName department
 */
@TableName(value ="department")
@Data
@ToString
public class Department implements Serializable {
    private static final long serialVersionUID = 6538803644271034981L;
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 部门
     */
    private String departmentName;

    /**
     * 父id
     */
    private Integer parentId;

}